package com.xueshishasha.oa.service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.xueshishasha.oa.model.CheckIn;

public interface CheckInService {

	public CheckIn getInfo(String id);

	public void updateInfo(CheckIn checkIn);

	public Serializable save(CheckIn checkIn);

	public void delete(CheckIn checkIn);

	public List<CheckIn> getAll();

	public CheckIn getModelById(Serializable id);

	public List<CheckIn> getModels(String hql, Object[] parameters);

	public void saveOrUpdate(CheckIn checkIn);

	public void saveOrUpdateAll(Collection<CheckIn> collection);

	public void update(CheckIn checkIn);

	public List<CheckIn> getByCriteria(DetachedCriteria dc);

}
